*{
    padding: 0px;margin: 0px;
}
@color:#F06060;
//红色背景颜色
body{
    background: @color;
    position: relative;
}
html{
    //字体大小
    font-size: 10px;
    //iphone4和iphone5的分辨率
    @media screen and (max-width:320px){
        font-size: 7.5px;
    }
}
//去掉a标签下划线
a{
    text-decoration: none;
}
//欢迎页

#welcome{
    color: white;
    width: 100%;
    background: @color;
    position: absolute;
    z-index: 10;
    h1{
        font-size: 3rem;
        width: 100%;
        text-align: center;
        margin-top: 10rem;
    }
    p{
        opacity: 0.8;
        font-size: 1.5rem;
        width: 100%;
        text-align: center;
        margin-top: 8rem;
    }
    .btnwrap{
        width: 100%;
        margin-top: 20rem;
        text-align: center;
        button{
            .btn;
        }
    }

}
.btn{
    background: #FCAD26;
    color: white;
    padding: 2rem 10rem;
    border: none;
    border-radius: .3rem;
    box-shadow: 0 .6rem 0 darkorange;
} 
#content{
    position: absolute;
    width: 100%;
    color: white;
    z-index: 1;
    #scorewrap{
        position: absolute;
        left: 1.8rem;
        top:1.8rem;
        font-size: 1.8rem;
        opacity: 0.8;
    }
    #time{
        font-size: 1.8rem;
        position: absolute;
        right: 1.8rem;
        top: 1.8rem;
        opacity: 0.8;
    }
    #box{
        position: absolute;
        top: 15em;
        width: 100%;
        background: #ddd;
        border-radius: 1rem;
        border: 1rem solid #ddd;
        box-sizing: border-box;
    }
}
#over{
    position: absolute;
     width: 100%;
    z-index: 20;
    background: @color;
    display: none;
    h1{
        width: 100%;
        text-align: center;
        margin-top: 20rem;
        font-size: 4rem;
    }
    .buttonwrap{
        margin-top: 10rem;
        text-align: center;
        button{
            .btn;
        }
    }
}






















